<div class='sole-statis' ng-controller='SoleStatis'>
    <div class='title'>团队信息</div>
    <ul class='am-list collapse' id='wrap-collapse'>
        <li class='am-panel list-child list-parent'>
            <a data-am-collapse='{parent: "#wrap-collapse", target: "#list-parent"}'>
                幸福家长
                <div class='flag am-fr'>{{parent.count || '0'}}<i class='fa fa-angle-right'></i></div>
            </a>
            <ul class='am-list am-collapse' id='list-parent'>
                <li class='am-cf' ng-repeat='user in parent.list'>
                    <div class='user-icon'>
                        <img ng-src='{{user.headimgurl}}'>
                    </div>
                    <div class='name'>{{user.nickname}}</div>
                    <div class='child'>下游用户：{{user.develop_count}}</div>
                </li>
                <li class='load-more' ng-click='load_data(4)' ng-if='!parent.is_end'>加载更多</li>
            </ul>
        </li>

        <li class='am-panel list-child list-teacher'>
            <a data-am-collapse='{parent: "#wrap-collapse", target: "#list-teacher"}'>
                推广大使
                <div class='flag am-fr'>{{teacher.count || '0'}}<i class='fa fa-angle-right'></i></div>
            </a>
            <ul class='am-list am-collapse' id='list-teacher'>
                <li class='am-cf' ng-repeat = 'user in teacher.list'>
                    <div class='user-icon'>
                        <img ng-src='{{user.headimgurl}}'>
                    </div>
                    <div class='name'>{{user.nickname}}</div>
                    <div class='child'>下游用户：{{user.develop_count}}</div>
                </li>
                <li class='load-more' ng-click='load_data(3)' ng-if='!teacher.is_end'>加载更多</li>
            </ul>
        </li>

        <li class='am-panel list-child list-expand'>
            <a data-am-collapse='{parent: "#wrap-collapse", target: "#list-expand"}'>
                幸福教练
                <div class='flag am-fr'>{{expand.count || '0'}}<i class='fa fa-angle-right'></i></div>
            </a>
            <ul class='am-list am-collapse' id='list-expand'>
                <li class='am-cf' ng-repeat = 'user in expand.list'>
                    <div class='user-icon'>
                        <img ng-src='{{user.headimgurl}}'>
                    </div>
                    <div class='name'>{{user.nickname}}</div>
                    <div class='child'>下游用户：{{user.develop_count}}</div>
                </li>
                <li class='load-more' ng-click='load_data(2)' ng-if='!expand.is_end'>加载更多</li>
            </ul>
        </li>
    </ul>
</div>
